]> dgit.raspbian.org Git - gnome-shell.git/commit
shell: Use proper path to include girepository headers
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Tue, 12 Aug 2025 01:59:14 +0000 (03:59 +0200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 12 Aug 2025 06:43:34 +0000 (06:43 +0000)
commit1132827ce94449e2812dc2339e282423217bbcc6
treeb8d22d679dff4e3d63cee3f6cc9ebed55a0e3b07
parent5ef7136748bf8978a5c3c938ebd64c249afb2f0b
shell: Use proper path to include girepository headers

girepository-2.0 headers are inside ${PREFIX}/include/glib-2.0/girepository
and the pkg-config file provides the glib-2.0 subpath as include
directory, so we are required to use the full header path, or we may not
be able to find them.

This is triggered a build failure in debian (with clean setup where no
libgirepository-1.0 was installed):

  ../src/shell-global.c:19:10: fatal error: girepository.h: No such file or
  directory
     19 | #include <girepository.h>

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3837>
src/shell-global.c
src/shell-tray-manager.c